<?php get_header(); ?>

<?php include (TEMPLATEPATH . '/admin.php'); ?>

<div id="body-container">

	<div id="latest-entry">
<?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); update_post_caches($posts); ?>
<?php if ((function_exists('the_meta_image')) ) { ?>
<?php the_meta_image(); ?>
<?php } ?>

<h2 ><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
		<span class="date"><?php the_time('d.m.y') ?></span>
		<p class="categories">Filed Under: <?php the_category(', ') ?> with <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?></p>

		<?php the_content('Continues after the jump &raquo;'); ?>


<?php if ((function_exists('UTW_ShowTagsForCurrentPost')) ) { ?>
<p class="tags"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">This entry</a> tagged: <?php UTW_ShowTagsForCurrentPost("technoraticommalist") ?></p>

<?php } ?>
<?php endwhile; ?>

<?php if ( is_home() ) { ?>

		<p class="postnav">
		<?php if (function_exists('wp_pagenavi') && is_home() ) : ?>
			<?php wp_pagenavi(); ?>
		<?php else : ?>
			<span class="left"><?php posts_nav_link('&larr; ','Previous Page ','') ?></span>
			<span class="right2"><?php posts_nav_link('&rarr; ','','Next Page') ?></span>
		<?php endif; ?>
		</p>

<?php } ?>


	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center">Your search returned no results. <a href="<?php echo get_settings('home'); ?>">Return to the homepage</a> or try a different search.</p>

	<?php endif; ?>

	</div><!-- /latest-entry -->

	<div id="sidebarwrap">
		<?php include (TEMPLATEPATH . '/top_sidebar.php'); ?>
		<?php include (TEMPLATEPATH . '/sidebar3.php'); ?>
		<?php get_sidebar(); ?>
		<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
	</div><!-- /sidebarwrap -->
</div><!-- /body-container -->


<?php get_footer(); ?>
